import java.util.ArrayList;
import java.awt.Color;

/* Class: Layout
 * This class is the visualization of one user's store configuration.
 * Data:
 * 	ArrayList of MyShapesF
 * 	count of number of each type of MyShape
 */
public class Layout extends Record {
	
	private class MyShape {
		int id;
		Constants.ShapeType t;
		int height;
		int width;
		int x;
		int y;
		int rotation;
		
		Color c;
	}
	
	MyShape shape;
	int layoutId;
	
	public MyShape getShape() {
		return shape;
	}

	public void setShape(MyShape shape) {
		this.shape = shape;
	}

	public int getLayoutId() {
		return layoutId;
	}

	public void setLayoutId(int layoutId) {
		this.layoutId = layoutId;
	}

	//data members
	ArrayList<MyShape> shelves;
	
	public Layout() {
		super();
		shelves = new ArrayList<MyShape>();
	}
	
	public Layout(Record r){
		
	}
	
	public void addShape() {
		
	}
	
	public void updateShape() {
		
	}
	
	public void resetLayout() {
		
	}
	
	public void saveLayout() {
		
	}
	
}
